package com.baidu.mapapi;

import java.util.ArrayList;

public class MKRoutePlan
{
  private int a;
  private ArrayList<MKRoute> b;

  void a(int paramInt)
  {
    this.a = paramInt;
  }

  void a(ArrayList<MKRoute> paramArrayList)
  {
    this.b = paramArrayList;
  }

  public int getDistance()
  {
    return this.a;
  }

  public int getNumRoutes()
  {
    if (this.b != null)
      return this.b.size();
    return 0;
  }

  public MKRoute getRoute(int paramInt)
  {
    if (this.b != null)
      return (MKRoute)this.b.get(paramInt);
    return null;
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.baidu.mapapi.MKRoutePlan
 * JD-Core Version:    0.6.2
 */